package com.haorui.lygyd.employeemanager.entity;

import com.haorui.base.core.IdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:26:58 CST 2019
 * @Description: 员工
 */
@ApiModel(value = "员工")
@Entity
@Table(name = "ydyingxin_yuangong")
@Data
@EqualsAndHashCode(callSuper = false)
public class YuangongEntity extends IdEntity {
    @ApiModelProperty(value = "姓名")
    private String yname;
    @ApiModelProperty(value = "身份证")
    private String sfz;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "手机号码")
    private String tel;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "支付宝账号")
    private String zfb;
    @ApiModelProperty(value = "学校ID")
    private String schoolId;
    @ApiModelProperty(value = "学校名称")
    private String schoolName;
    @ApiModelProperty(value = "是否锁定")
    private String shifouSuoding;
    @ApiModelProperty(value = "上级ID")
    private String pId;
    @ApiModelProperty(value = "上级姓名")
    private String pName;
}